package com.tianyao.compose.baseuse.common

import android.content.Context
import android.util.Log
import android.widget.Toast

fun showToast(context: Context, content: String?) {
    Toast.makeText(context, content ?: "null", Toast.LENGTH_SHORT).show()
}

fun String?.logd() {
    Log.d("TAG", this ?: "null")
}